import Vue from 'vue'
import VueRouter from "vue-router"

import index from '../components/index.vue'
import question from "@/components/question";
import finish from "@/components/finish";
import another_finish from "@/components/another_finish";

Vue.use(VueRouter)

const routes = [
    {
        name: "Index",
        path: "/",
        component: index
    },
    {
        name: "question",
        path: "/question",
        component: question
    },
    {
        name: "finish",
        path: "/finish/:kind",
        component: finish
    },
    {
        name: "another_finish",
        path: "/another_finish/:kind",
        component: another_finish
    }
]

export default new VueRouter({
    name: "router",
    routes
})